<!DOCTYPE html>
	<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1.0">
		<title>Document</title>
		<link rel="stylesheet" href="../layui/css/layui.css">
		<link rel="stylesheet" type="text/css" href="../css/club.css">

		<style type="text/css">
			.layui-rate {
				 padding: 0;
				font-size: 0;
			}
			.layui-rate li i.layui-icon {
				font-size: 10px;
				color: #FFB800;
				 margin-right: 0px; 
				transition: all .3s;
				-webkit-transition: all .3s;
			}
			.report {
			    position: absolute;
			    right: 10px;
			    top: 0;
			}
		</style>
	</head>
	<body>
		<header>
			<a href="javascript:history.back(-1)" class="back"><img src="../img/back.png" height="18px"></a>
			<div class="center title">推拿会所</div>
		</header>

		<div class="big_wrap">
			
		</div>

		<!-- <a href="details-c.html" class="n-underline">
			<div class="club-wrap">
	    		<div class="flex club">
		    		<div class="h-portrait">
		    			<img src="../img/logo.png" width="50px">
		    		</div>
						<div class="club-r">
							<p class="username">帝王会所</p>
							<p class="flex score">
								<img src="../img/star-f.png" height="8px">
								<img src="../img/star-f.png" height="8px">
								<img src="../img/star-f.png" height="8px">
								<img src="../img/star-f.png" height="8px">
								<img src="../img/star-h.png" class="star">
								<span>4.5分</span>
							</p>
						<div class="flex">
							<p class="small-g">按摩/足疗</p>
							<p class="small-g">坂田大厦旁</p>
						</div>
					</div>
		    	</div>
		    	<div class="flex money">
		    		<div>
		    			<p class="blue">￥298</p>
		    			<p class="small-g">门市价：<span>￥675</span></p>
		    		</div>
		    		<div>
		    			<p>单人肩部保养（70分钟）</p>
		    			<p class="small-g">已售105</p>
		    		</div>
		    	</div>
	    	</div>
    	</a>
		<div class="parting-line"></div>
		<div class="club-wrap">
    		<div class="flex club">
	    		<div class="h-portrait">
	    			<img src="../img/logo.png" width="50px">
	    		</div>
				<div class="club-r">
					<p class="username">天缘会所</p>
					<p class="flex score">
						<img src="../img/star-f.png" height="7px">
						<img src="../img/star-f.png" height="7px">
						<img src="../img/star-f.png" height="7px">
						<img src="../img/star-f.png" height="7px">
						<img src="../img/star-f.png" height="7px">
						<span>5.0分</span>
					</p>
					<div class="flex">
						<p class="small-g">有停车位</p>
						<p class="small-g">五和地铁口店</p>
					</div>
				</div>
	    	</div>
	    	<div class="flex money">
	    		<div>
	    			<p class="blue">￥298</p>
	    			<p class="small-g">门市价：<span>￥675</span></p>
	    		</div>
	    		<div>
	    			<p>单人肩部保养（70分钟）</p>
	    			<p class="small-g">已售105</p>
	    		</div>
	    	</div>
	    	<div class="flex money">
	    		<div>
	    			<p class="blue">￥298</p>
	    			<p class="small-g">门市价：<span>￥675</span></p>
	    		</div>
	    		<div>
	    			<p>摩登名媛美白补水</p>
	    			<p class="small-g">已售105</p>
	    		</div>
	    	</div>
    	</div>
		<div class="parting-line"></div>
		<div class="club-wrap">
    		<div class="flex club">
	    		<div class="h-portrait">
	    			<img src="../img/logo.png" width="50px">
	    		</div>
				<div class="club-r">
					<p class="username">悦研健康会所</p>
					<p class="flex score">
						<img src="../img/star-f.png" height="7px">
						<img src="../img/star-f.png" height="7px">
						<img src="../img/star-f.png" height="7px">
						<img src="../img/star-f.png" height="7px">
						<img src="../img/star-f.png" height="7px">
						<span>5.0分</span>
					</p>
					<div class="flex">
						<p class="small-g">有停车位</p>
						<p class="small-g">雪岗大道店</p>
					</div>
				</div>
	    	</div>
	    	<div class="flex money">
	    		<div>
	    			<p class="blue">￥298</p>
	    			<p class="small-g">门市价：<span>￥675</span></p>
	    		</div>
	    		<div>
	    			<p>单人足浴+桑拿</p>
	    			<p class="small-g">已售105</p>
	    		</div>
	    	</div>
	    	<div class="flex money">
	    		<div>
	    			<p class="blue">￥298</p>
	    			<p class="small-g">门市价：<span>￥675</span></p>
	    		</div>
	    		<div>
	    			<p>摩登名媛美白补水</p>
	    			<p class="small-g">已售105</p>
	    		</div>
	    	</div>
    	</div> -->
		

		<script src="../js/jquery-3.3.1.js"></script>
		<script src="../layui/layui.js"></script>
		<script src="../js/party.js"></script>
	</body>
</html>	
<script type="text/javascript">
	$.ajax({
		url: "/meiyou/selTuiNa",
		type: "Post",
		success: function (data) {
			console.log(data);
			$.each(data,function(i,val){
				$('.big_wrap').append("<a href='details-c.html?id="+val.tId+"' class=\"n-underline\">"+
					"<div class=\"club-wrap\">" +
					"    <div class=\"flex club\">" +
					"    <div class=\"h-portrait\">" +
					"    <img src='"+val.array[0]+"' width=\"50px\">" +
					"    </div>" +
					"<div class=\"club-r\">" +
					"<p class=\"username\">"+val.tName+"</p>" +
					"<p class=\"flex score\" id='"+val.tAssess+"' data='"+val.tAssess+"'>" +
					"</p>" +
					"<div class=\"flex\" style='position:relative'>" +
					"<p class=\"small-g\">"+val.tAddress+"</p>" +
					"<a href='../html/report.html?id="+val.t_u_count+"&type=data'><img src=\"../img/report.png\"height=\"15px\" class=\"report\"></a>" +
					"</div>" +
					"</div>" +
					"    </div>" +
					"    <div class=\"flex money\">" +
					"    <div>" +
					"    <p class=\"blue\">"+"￥"+val.tMeijin+"</p>" +
					"    <p class=\"small-g\">门市价：<span>￥"+val.tMsmeijin+"</span></p>" +
					"    </div>" +
					"    <div>" +
					"    <p>"+val.tProduce+"</p>" +
					"    <p class=\"small-g\">"+"已售"+val.tSell+"</p>" +
					"    </div>" +
					"    </div>" +

					"    </div>" +
					"</a>"+
					"<div class=\"parting-line\"></div>");
					var score=val.tAssess;
					layui.use(['rate'], function(){
					var rate = layui.rate;
					rate.render({
						elem: "#"+val.tAssess,
						value: score,
						half: false,
						text: true,
						readonly: true,
						setText: function(value){
							this.span.text(value+'分');
						}
					});

				});
			});	
			
		}
	});
/*	var val='5';
	layui.use(['rate'], function(){
		var rate = layui.rate;
		
			rate.render({
				elem: '.score',
				value: val,
				half: true,
				text: true,
				readonly: true,
				setText: function(value){
					this.span.text(value+'分');
				}
			});
		});*/
</script>	